package com.ym.medical.dao;

import com.ym.medical.domain.entity.NavDeptAdvEntity;
import com.ym.medical.domain.param.NavDeptAdvParam;
import com.ym.medical.domain.vo.NavDeptAdvVo;

import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * ComputerName:LAPTOP-6GI4HOI6
 * Author:625
 * Date: 2019-08-15
 * Time: 09:19:25
 */
@Repository
public interface NavDeptAdvDao extends Mapper<NavDeptAdvEntity> {
	/**
	 * 阅读量加一
	 *
	 * @param id
	 */
	void readInc(Long id);

	/**
	 * 自定义的列表查询
	 *
	 * @param query
	 * @return
	 */
	List<NavDeptAdvVo> selectByModelCustom(NavDeptAdvParam query);
}